package com.hoshiicloud.common.utils.tree;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Markerccc
 * @date 2019/8/14 - 19:29
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("店铺类目树形菜单出参对象")
public class PlatStoreWithPlatStoreTree implements Serializable, TreeEntity<PlatStoreWithPlatStoreTree> {

    private String id;

    @ApiModelProperty("值")
    private Long value;

    @ApiModelProperty("名称")
    private String label;

    @ApiModelProperty("父级id")
    private String parentId;

    public List<PlatStoreWithPlatStoreTree> children;

}
